<?php

/**
 * sfGuardFormSignin for sfGuardAuth signin action
 *
 * @package form
 * @package sf_guard_user
 */
class sfGuardFormSignin extends BasesfGuardFormSignin
{

  public function configure()
  {
      parent::configure();
	  
      $this->widgetSchema['username']       = new sfWidgetFormInput(array(), array('size' => 50,'class'=>"{required:true, messages:{required:'O campo Login é obrigatório.'}}")) ;
      $this->widgetSchema['password']         = new sfWidgetFormInputPassword(array(), array('class'=>"{required:true, messages:{required:'O campo SENHA é obrigatório.'}}")) ;
      
      $this->widgetSchema->setLabels(array(
                                      'username'         => 'Login',
                                      'password'         => 'Senha',
                                      'remember'         => 'Continuar conectado'
                                    ));
  }
}